package org.jeecg.modules.system.vo;

import lombok.Data;
import org.jeecg.modules.system.entity.SysUserRole;

/**
 * @Author liurui
 * @Date 2019/10/12 14:03
 * @Version 1.0
 **/
@Data
public class SysUserRoleScopeResponse {
    private String id;
    private String userId;
    private String roleId;
    private String roleName;
    private String scopeName;

    private String ids;
    private String scopeNames;


    public SysUserRoleScopeResponse(){}

    public SysUserRoleScopeResponse(SysUserRole sysUserRole){
        this.id = sysUserRole.getId();
        this.ids = sysUserRole.getId();
        this.roleId = sysUserRole.getRoleId();
        this.roleName = sysUserRole.getRoleName();
        this.scopeName = sysUserRole.getScopeName();
        this.scopeNames = sysUserRole.getScopeName();
    }

}
